package br.com.ffm.info.praticas.fiptwitter;

import br.com.ffm.info.praticas.fiptwitter.core.FIPTwitter;
import br.com.ffm.info.praticas.fiptwitter.core.User;
import br.com.ffm.info.praticas.fiptwitter.exception.FIPTwitterServiceException;

public class FIPTwitterFacade {

	private FIPTwitter service = new FIPTwitter();
	
	public User newUser(String nome, String login, String senha) throws FIPTwitterServiceException {
		return service.newUser(nome, login, senha);
	}

	public User findByLogin(String login) throws FIPTwitterServiceException {
		return service.findByLogin(login);
	}

	public boolean hasLogin(String login) {
		return service.hasLogin(login);
	}

}
